Optimal. Leaf size=206 \[ -\frac{\left (6 a B \left (4 a c+b^2\right )-A \left (b^3-12 a b c\right )\right ) \tanh ^{-1}\left (\frac{2 a+b x}{2 \sqrt{a} \sqrt{a+b x+c x^2}}\right )}{16 a^{3/2}}+\frac{\sqrt{a+b x+c x^2} \left (2 c x (6 a B+A b)-8 a A c-6 a b B+A b^2\right )}{8 a x}+\frac{1}{2} \sqrt{c} (2 A c+3 b B) \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )-\frac{\left (a+b x+c x^2\right )^{3/2} (3 x (2 a B+A b)+4 a A)}{12 a x^3} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.562497, antiderivative size = 206, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.261 \[ -\frac{\left (6 a B \left (4 a c+b^2\right )-A \left (b^3-12 a b c\right )\right ) \tanh ^{-1}\left (\frac{2 a+b x}{2 \sqrt{a} \sqrt{a+b x+c x^2}}\right )}{16 a^{3/2}}-\frac{\sqrt{a+b x+c x^2} \left (-A \left (b^2-8 a c\right )-2 c x (6 a B+A b)+6 a b B\right )}{8 a x}+\frac{1}{2} \sqrt{c} (2 A c+3 b B) \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )-\frac{\left (a+b x+c x^2\right )^{3/2} (3 x (2 a B+A b)+4 a A)}{12 a x^3} \]
Antiderivative was successfully verified.
[In] Int[((A + B*x)*(a + b*x + c*x^2)^(3/2))/x^4,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 90.3279, size = 201, normalized size = 0.98 \[ \frac{\sqrt{c} \left (2 A c + 3 B b\right ) \operatorname{atanh}{\left (\frac{b + 2 c x}{2 \sqrt{c} \sqrt{a + b x + c x^{2}}} \right )}}{2} + \frac{\sqrt{a + b x + c x^{2}} \left (- 4 A a c + \frac{A b^{2}}{2} - 3 B a b + c x \left (A b + 6 B a\right )\right )}{4 a x} - \frac{\left (2 A a + x \left (\frac{3 A b}{2} + 3 B a\right )\right ) \left (a + b x + c x^{2}\right )^{\frac{3}{2}}}{6 a x^{3}} + \frac{\left (- 12 A a b c + A b^{3} - 24 B a^{2} c - 6 B a b^{2}\right ) \operatorname{atanh}{\left (\frac{2 a + b x}{2 \sqrt{a} \sqrt{a + b x + c x^{2}}} \right )}}{16 a^{\frac{3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)*(c*x**2+b*x+a)**(3/2)/x**4,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.7062, size = 221, normalized size = 1.07 \[ \frac{-2 \sqrt{a} \left (\sqrt{a+x (b+c x)} \left (4 a^2 (2 A+3 B x)+2 a x (A (7 b+16 c x)+3 B x (5 b-4 c x))+3 A b^2 x^2\right )-12 a \sqrt{c} x^3 (2 A c+3 b B) \log \left (2 \sqrt{c} \sqrt{a+x (b+c x)}+b+2 c x\right )\right )+3 x^3 \log (x) \left (6 a B \left (4 a c+b^2\right )-A \left (b^3-12 a b c\right )\right )+3 x^3 \left (A \left (b^3-12 a b c\right )-6 a B \left (4 a c+b^2\right )\right ) \log \left (2 \sqrt{a} \sqrt{a+x (b+c x)}+2 a+b x\right )}{48 a^{3/2} x^3} \]
Antiderivative was successfully verified.
[In] Integrate[((A + B*x)*(a + b*x + c*x^2)^(3/2))/x^4,x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.017, size = 635, normalized size = 3.1 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)*(c*x^2+b*x+a)^(3/2)/x^4,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^(3/2)*(B*x + A)/x^4,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 1.43534, size = 1, normalized size = 0. \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^(3/2)*(B*x + A)/x^4,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\left (A + B x\right ) \left (a + b x + c x^{2}\right )^{\frac{3}{2}}}{x^{4}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)*(c*x**2+b*x+a)**(3/2)/x**4,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.606365, size = 4, normalized size = 0.02 \[ \mathit{sage}_{0} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^(3/2)*(B*x + A)/x^4,x, algorithm="giac")
[Out]